package com.wondream.myframework.spring.proxy;

public class Girl implements Human {
    @Override
    public void eat() {
        System.out.println(String.format("%s:%s|%s", Thread.currentThread().getStackTrace()[1].getFileName(), Thread.currentThread().getStackTrace()[1].getLineNumber(), Thread.currentThread().getStackTrace()[1].getMethodName()));
    }

    @Override
    public void bath() {
        System.out.println(String.format("%s:%s|%s", Thread.currentThread().getStackTrace()[1].getFileName(), Thread.currentThread().getStackTrace()[1].getLineNumber(), Thread.currentThread().getStackTrace()[1].getMethodName()));
    }
}
